<?php
class ChallengeOrderModel extends SzMySqlModel
{

    /**
     * @see SzAbstractModel::$ORM_NAME
     * @var string
     */
    public static $ORM_NAME = 'ChallengeOrder';

    /**
     * Initialize the ChallengeOrderModel.
     *
     * @return ChallengeOrderModel
     */
    public function __construct()
    {
        $this->table = 'ft_challenge_order';
        $this->columns = array('userId', 'indexId', 'ymd', 'status', 'isFree', 'completeNum', 'exp', 'gold', 'completeOrder', 'startTime', 'endTime', 'reward', 'rewardStatus', 'rewardTime', 'createTime', 'updateTime', );
        $this->autoIncrColumn = null;
        $this->diffUpColumns = array(5, 6, 7, );
        $this->updateFilter = array(0, 1, );
        $this->toArrayFilter = array();
        $this->searchColumns = array(0, 1, );
        $this->updateColumns = array(0, 1, );
        $this->jsonColumns = array(8, 11, );
        $this->cacheColumn = 0;
        $this->shardColumn = 0;
        $this->pkColumn = 1;
        $this->deleteColumns = array(0, );
        $this->tableShardCount = null;
        $this->cacheTime = 259200;

        $this->ormName = 'ChallengeOrder';
        $this->columnCount = 16;
        $this->isList = true;
        $this->dbType = 'MySql';
        $this->voClassName = 'ChallengeOrderVo';
        $this->voListClassName = 'ChallengeOrderVoList';

        parent::__construct();
    }

}